multiselection: Fix the select_range implementation
authorMatthias Clasen <mclasen@redhat.com>
Fri, 5 Jun 2020 17:49:32 +0000 (13:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 5 Jun 2020 17:50:30 +0000 (13:50 -0400)
commit99a1d10bf139729eb284e296a73a7a0dea5128d0
tree365ffdd8593da077a99a7e902b5d18d1851d513f
parent2f1028ed795e2984b41583391e4ba145e5c0c689
multiselection: Fix the select_range implementation

When exclusive is TRUE, we would not always emit a
::selection-changed signal that covers all the items
that were unselected.

This commit includes a test.
gtk/gtkmultiselection.c
testsuite/gtk/multiselection.c